<?php

namespace App\Http\Controllers\Async;

use Illuminate\Http\Request;

use App\Service\Rpc\Erp;

use App\Http\Controllers\Controller;

class OrderController extends Controller
{

    public function pushToErp(Request $request)
    {
        
        $erp = new Erp();
        
        $res = $erp->pushToErp();
        
        return $res['message'];
    }

}